.class final Lorg/microemu/app/classloader/MIDletClassLoader$1;
.super Ljava/lang/Object;
.source "MIDletClassLoader.java"

# interfaces
.implements Ljava/security/PrivilegedExceptionAction;


# instance fields
.field private final this$0:Lorg/microemu/app/classloader/MIDletClassLoader;

.field private final val$name:Ljava/lang/String;


# direct methods
.method constructor <init>(Lorg/microemu/app/classloader/MIDletClassLoader;Ljava/lang/String;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 252
    iput-object p1, p0, Lorg/microemu/app/classloader/MIDletClassLoader$1;->this$0:Lorg/microemu/app/classloader/MIDletClassLoader;

    iput-object p2, p0, Lorg/microemu/app/classloader/MIDletClassLoader$1;->val$name:Ljava/lang/String;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()Ljava/lang/Object;
    .locals 3

    .prologue
    .line 254
    iget-object v1, p0, Lorg/microemu/app/classloader/MIDletClassLoader$1;->this$0:Lorg/microemu/app/classloader/MIDletClassLoader;

    iget-object v2, p0, Lorg/microemu/app/classloader/MIDletClassLoader$1;->val$name:Ljava/lang/String;

    invoke-virtual {v1, v2}, Lorg/microemu/app/classloader/MIDletClassLoader;->findResource(Ljava/lang/String;)Ljava/net/URL;

    move-result-object v0

    .line 255
    .local v0, url:Ljava/net/URL;
    if-nez v0, :cond_0

    iget-object v1, p0, Lorg/microemu/app/classloader/MIDletClassLoader$1;->this$0:Lorg/microemu/app/classloader/MIDletClassLoader;

    invoke-static {v1}, Lorg/microemu/app/classloader/MIDletClassLoader;->access$000(Lorg/microemu/app/classloader/MIDletClassLoader;)Z

    move-result v1

    if-eqz v1, :cond_0

    iget-object v1, p0, Lorg/microemu/app/classloader/MIDletClassLoader$1;->this$0:Lorg/microemu/app/classloader/MIDletClassLoader;

    invoke-virtual {v1}, Lorg/microemu/app/classloader/MIDletClassLoader;->getParent()Ljava/lang/ClassLoader;

    move-result-object v1

    if-eqz v1, :cond_0

    .line 256
    iget-object v1, p0, Lorg/microemu/app/classloader/MIDletClassLoader$1;->this$0:Lorg/microemu/app/classloader/MIDletClassLoader;

    invoke-virtual {v1}, Lorg/microemu/app/classloader/MIDletClassLoader;->getParent()Ljava/lang/ClassLoader;

    move-result-object v1

    iget-object v2, p0, Lorg/microemu/app/classloader/MIDletClassLoader$1;->val$name:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/ClassLoader;->getResource(Ljava/lang/String;)Ljava/net/URL;

    move-result-object v0

    .line 258
    :cond_0
    return-object v0
.end method
